package com.example.service;

import com.example.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {

    /**
     * @Author: yajie
     * @Date: 18:13 2020/7/4
     * @Parms []
     * @ReturnType: java.util.List<com.example.pojo.User>
     * @Description: 查询所有用户
     */
    public List<User> findAll();

    /**
     * @Author: yajie
     * @Date: 19:56 2020/7/4
     * @Parms []
     * @ReturnType: java.util.List<com.example.pojo.User>
     * @Description: 从redis中查询用户信息
     */
    String getUserByRedis();
}
